﻿using Niti.OrderManage.Application.Contracts;
using Niti.OrderManage.Enum;
using Niti.OrderManage.OrderManage.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Niti.OrderManage.DTO
{
    /// <summary>
    /// 查询条件
    /// </summary>
   public class OrderSelectCondition
    {
        #region 字段值
        /// <summary>
        /// 订单的标题
        /// </summary>

        public string Title { get; set; }

        #region 供应商
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string Supplier_Code { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>

        public string Supplier_SName { get; set; }
        #endregion

        /// <summary>
        /// 是否审核 0:草稿 1:审核
        /// </summary>
        public OrderStatusCode IsDraft { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime BeginTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime Endtime { get; set; }
        #endregion

        [Required]
        public PagingInput input { get; set; }
        [Required]
        public ConditionCode condition { get; set; } 
       
    }
}
